﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Memo.Electricity.Game {
    public class CTrap : MonoBehaviour
    {
            private void OnTriggerEnter2D(Collider2D collision)
        {
            if (collision.gameObject.CompareTag("Player"))
            {
                PlayerManager.Inst.PlayerDead();
            }
                
        }
    }
}
